package com.system.service;

import com.github.pagehelper.PageInfo;
import com.system.po.ReservePlan;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface ReservePlandrawingService {
    //添加事故处理计划图纸
    boolean addReservePlandrawing(ReservePlan reservePlan);

    //修改事故处理计划图纸
    boolean updateReservePlandrawingById(ReservePlan reservePlan);

    //获取list图纸记录
    PageInfo<ReservePlan> selectReservePlandrawingList(  Integer page, Integer limit);

    //查询单个对象
    ReservePlan selectReservePlandrawingById(Integer id);

    void uploadAndDWGFileToPDFManager(MultipartFile myfile, String originalFilename) throws IOException;

    Integer DeleteReservePlandrawing(Integer id);
}
